//
//  Property.h
//  LBBase
//
//  Created by Gary on 15/7/1.
//  Copyright (c) 2015年 Lebo. All rights reserved.
//

#import <Foundation/Foundation.h>

//属性的数据类型
enum {
    PDTBOOL,
    
    PDTInt,
    PDTLong,
    PDTLongLong,
    PDTUnsignedLongLong,
    PDTFloat,
    PDTDouble,
    PDTString,
    PDTUTF8String,
    
    PDTDate,
    PDTObject,
};

@interface Property : NSObject

@property (nonatomic, copy)     NSString *name;             // 属性名
@property (nonatomic, assign)   int type;                   // 属性数据类型
@property (nonatomic, copy)     NSString *column;           // 对应在表中的列名

- (id)initWithName:(NSString*)name type:(int)type column:(NSString*)column;

@end
